#include<stdio.h>
int main()
{
    int x,y;
    printf("enter x\n");
    scanf("%d",&x);
    y=-1;
    if(x!=0){
        if(x>0){
            y=1;
        }
    }else
    y=0;
    printf("x is %d\ny is %d\n",x,y);
}